#define SINGLETON(className)\
	static className* GetSingletonPtr()\
{\
	static className* singleton = NULL;\
	if (!singleton)\
	{\
	singleton = new className;\
	}\
	return singleton;\
}